
LODOP.NEWPAGEA();
var temphtml ='<style> .temp{height:0px;width:100%;border:0px solid #000}</style><div  class="temp"></div>'
LODOP.ADD_PRINT_HTML("0","0","200mm","100%",temphtml);

LODOP.ADD_PRINT_BARCODE("2.4mm","150mm","55.1mm","7.8mm","","${order.sn}");	  
LODOP.ADD_PRINT_TEXT(7,333,117,25,"销售发货单");
LODOP.SET_PRINT_STYLEA(0,"FontSize",14);
LODOP.ADD_PRINT_TEXT(6,"9.3mm",240,20,"时间：<@dateformat pattern="yyyy-MM-dd " time="${order.create_time}" />");
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT("11.8mm","9.3mm",138,20,"店铺:javashop");
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT("11.8mm",221,240,20,"订单号：${order.sn}");
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT("11.8mm",460,180,20,"货运方式：${order.shipping_type!''}");
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);

var userhtml='${userHtml}';
LODOP.ADD_PRINT_TABLE("20px","0","200mm","100%",userhtml);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1);

${itemHtml}

var tbhtml = '${footerHtml}';
LODOP.ADD_PRINT_TABLE("0","0","200mm","100%",tbhtml);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",-1);
